# Author 阳某
age_of_oldboy = 56
count = 0
while count<3:
    guess_age = int(input("guess age:"))
    if age_of_oldboy == guess_age:
        print("yes,you got it!")
        break
    elif age_of_oldboy > guess_age:
        print("think samller")
    else:
        print("think bigger")
    count +=1
    if count == 3:
        continue_confirm = input("do you want to keep guessing")
        if continue_confirm != 'n':
            count = 0

